home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / unix / next / readme.txt < prev    next >
Text File  |  1996-06-25  |  1KB  |  25 lines

  1. The Unix command line interface to the QRZ! database won't work
  2. under NeXTStep without modification due to NeXT's funky implementation
  3. of mmap() and its lack of munmap().  I made the following modifications:
  4.  
  5. cb.h:        I included an #ifdef that redefines mmap() to next_mmap().
  6.  
  7. nextmmap.c:    This file contains next_mmap() and munmap() for the NeXT.
  8.  
  9. nsort.c:    Even with the mmap() replacement, the sorted file doesn't
  10.         get written back to disk properly.  I added an #ifdef
  11.         section to write nlist.ndx out with an old-fashioned
  12.         write call.
  13.  
  14. makefile:    I added new LIBOBJS and PROGS.  The NeXT version of
  15.         LIBOBJS adds the file nextmmap.o.  PROGS doesn't attempt
  16.         to build mkalist (because the same patch that was applied
  17.         to nsort.c would be needed) and nucall (because it doesn't
  18.         look like that NeXT supports termio).
  19.  
  20. Note:  The symbol NeXT is defined by the c compiler, so to build this a
  21.        NeXT version, all you have to do is use the proper LIBOBJS and PROGS
  22.        lines in the makefile.
  23.  
  24. Benjy Cline, AC4XO.
  25.